package org.top10.dao;


import java.util.List;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.top10.entity.CollectEntity;
import org.top10.entity.CollectRecord;
import org.top10.entity.WebSite;

public interface DBServer {
	Object get(Integer id,Class type);
	Integer insert(Object t );
	void update(Object t);
	void delete(Object t);
	List<Object> find(String sql);
	void inserts(List<CollectEntity>entitys,CollectRecord record);
	public WebSite getWebSiteByIdentifier(Integer webSizeID);
}
